const Mock = require("mockjs");
const { list } = Mock.mock({
  "list|10": [
    {
      id: "@id",
      title: "@ctitle(3,5)",
      src: "@image(30x30,@color,@color,name)",
      "children|10": [
        {
          id: "@id",
          title: "@ctitle(2,4)",
          "children|20": [
            {
              id: "@id",
              title: "@ctitle(4)",
              word: "@cword(10,20)",
              src: "@image(30x30,@color,@color,name)",
            },
          ],
        },
      ],
    },
  ],
});
module.exports = { list };
